home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / DayDreamBBS.lha / DayDream / InstallDD < prev    next >
Text File  |  1996-10-14  |  4KB  |  157 lines

  1. ; DayDream BBS installation script!
  2.  
  3. (set DDVersion "DayDream BBS 1.26")
  4.  
  5. (complete 0)
  6. (message
  7.         "\n D a y D r e a m  B B S  1.26\n\n"
  8.         "By Antti Häyrynen and Mattias Nilsson\n\n"
  9.         "This installer script installs DayDream BBS onto your harddrive.\n\n"
  10.         "Unpack the DayDream BBS distribution archive to the directory you want it to be placed in.\n"
  11.         "\n(Obviosly you have done this already :)"
  12. )
  13.  
  14. (set DestDir (askdir    (prompt "Please Select the directory/partition where you have unpacked DayDream BBS?")
  15.             (help    "This directory is the home of DayDream BBS and all the subdirectories will be placed here.")
  16.             (default "")
  17.              )
  18. )
  19. (makeassign "DayDream" (DestDir))
  20.  
  21. (makedir ("DayDream:Temporary"))
  22. (makedir ("DayDream:Temporary/Node1"))
  23. (makedir ("DayDream:Users"))
  24. (makedir ("DayDream:Hold"))
  25. (makedir ("DayDream:Data"))
  26. (makedir ("DayDream:Batch"))
  27. (makedir ("DayDream:Display"))
  28. (makedir ("DayDream:Doors"))
  29. (makedir ("DayDream:Questionnaire"))
  30. (makedir ("DayDream:Logfiles"))
  31.  
  32.  
  33. (complete 25)
  34. (message
  35.         "All the directories requires for uploads etc. for 1 node "
  36.         "has been created. \n"
  37.         "\nNow move on to the library/handler installation.\n"
  38. )
  39.  
  40. (complete 35)
  41. (copylib
  42.     (prompt "Copying fifo-handler to L:...\n\n"
  43.             "FIFO is required for remote shell and stdio doors etc."
  44.     )
  45.     (confirm)
  46.     (help @copylib-help)
  47.     (source ("DayDream:l/fifo-handler"))
  48.     (dest    "L:" )
  49. )
  50.  
  51. (complete 45)
  52. (copylib
  53.     (prompt    "Copying fifo.library to Libs:...\n\n"
  54.             "FIFO is required for remote shell and stdio doors etc."
  55.     )
  56.     (help @copylib-help)
  57.     (source ("DayDream:libs/fifo.library"))
  58.     (dest    "Libs:"  )
  59.     (confirm)
  60. )
  61.  
  62. (complete 50)
  63. (copylib
  64.     (prompt    "Copying rexxsyslib.library to Libs:...\n")
  65.     
  66.     (help @copylib-help)
  67.     (source ("DayDream:libs/rexxsyslib.library"))
  68.     (dest    "Libs:"  )
  69.     (confirm)
  70. )
  71.  
  72. (complete 55)
  73. (copylib
  74.     (prompt    "Copying reqtools.library to Libs:...\n")
  75.     
  76.     (help @copylib-help)
  77.     (source ("DayDream:libs/reqtools.library"))
  78.     (dest    "Libs:"  )
  79.     (confirm)
  80. )
  81.  
  82. (complete 65)
  83. (copylib
  84.     (prompt "Copying DreamDoor.library to Libs:...\n\n"
  85.             "DreamDoor.library is required to run doors."
  86.     )
  87.     (help @copylib-help)
  88.     (source ("DayDream:libs/DreamDoor.library"))
  89.     (dest    "Libs:"  )
  90.     (confirm)
  91. )
  92.  
  93. (complete 70)
  94. (run "c:protect DayDream:Batch/Logoff1.BAT +s")
  95.  
  96. (complete 75)
  97. (startup "DayDream"
  98. (prompt     "\nSeveral assignments need to be made to your S:User-Startup "
  99.         "file which allow DayDream to find all the files and directories "
  100.         "we've just installed.\n\n"
  101.         "In addition, other actions required by DayDream will be "
  102.         "added."
  103.     )
  104.     (help    "DayDream requires several assignments so that it can find "
  105.         "all it's files.  A couple of assign statements will be made "
  106.         "to your S:User-Startup file, and will also launch "
  107.         "rexxmast and fifo handler which DayDream requires.\n\n"
  108.         "If you already have fifo-handler and/or rexxmast installed,"
  109.         "Please remove those entries added by this installer from your "
  110.         "S:User-Startup later on."
  111.     )
  112.     (command
  113.     ("\n"                        )
  114.     ("Assign DayDream:     \"%s\"\n" (getassign "DayDream"    ))
  115.     ("Assign Doors: DayDream:Doors/\n")
  116.     ("SetEnv DreamUtils DayDream:Configs/\n")
  117.     ("Run <>NIL: L:FIFO-Handler\n"     )
  118.     ("Path <>NIL: daydream:utils add\n"     )
  119.     ("RexxMast >NIL:\n\n"             )
  120.     )
  121. )
  122.  
  123.  
  124. (complete 80)
  125. (run "Assign Doors: DayDream:Doors/")
  126. (run "Setenv DreamUtils DayDream:Configs/")
  127. (run "Run <>NIL: L:Fifo-handler")
  128. (run "Rexxmast >NIL:")
  129. (run "Path <>NIL: DayDream:utils/ add")
  130. (run "Daydream:utils/dreamconfig daydream:daydream.cfg")
  131.  
  132. (complete 90)
  133. (message
  134.         "\nThe default DayDream config has now been parsed.\n\n"
  135.         "Please take a look in the docs to see how to edit the "
  136.         "config file, or use the MUI-Config program.\n"
  137.         "\nDayDream will now be started to create the sysop account.\n\n"
  138.         "\nIn order to be able to test DayDream a bit, you need a "
  139.         "sysop account. Select Proceed now to start DayDream and configure "
  140.         "the sysop account."
  141. )
  142.  
  143. (run "run <>NIL: DayDream:Server\nDayDream:Utils/WaitForPort DD-Server\nDayDream:DayDream n1 lc\ndaydream:Utils/FixSysopAccount")
  144.  
  145. (complete 100)
  146. (message "The sysop account should now be functional.\n\n"
  147.          "Please read through the manual carefully and "
  148.          "try out DayDream BBS for a while.\n"
  149.          "Included in the documentation is also a FAQ for DayDream if you "
  150.          "should run into problems."
  151.  
  152.          "\nHave fun! And remember: If you like it, please register."
  153. )
  154.  
  155. (exit (quiet))
  156. ; EOF
  157.